package com.chinasoft.ecommerceconsumptionanalysissystem.service.impl;

import com.chinasoft.ecommerceconsumptionanalysissystem.mapper.BrandShareInCategoryMapper;
import com.chinasoft.ecommerceconsumptionanalysissystem.pojo.BrandShareInCategory;
import com.chinasoft.ecommerceconsumptionanalysissystem.service.BrandShareInCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandShareInCategoryServiceImpl implements BrandShareInCategoryService {

    @Autowired
    private BrandShareInCategoryMapper brandShareInCategoryMapper;

    @Override
    public List<BrandShareInCategory> selectAll() {
        return brandShareInCategoryMapper.selectAll();
    }

    @Override
    public int insert(BrandShareInCategory brandShareInCategory) {
        return brandShareInCategoryMapper.insert(brandShareInCategory);
    }
}
